home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / driverkit / i386 / IOPCIDeviceDescription.h < prev    next >
Text File  |  1994-12-02  |  1KB  |  38 lines

  1. /*
  2.  * Copyright (c) 1994 NeXT Computer, Inc.
  3.  *
  4.  * PCI device description class.
  5.  *
  6.  * HISTORY
  7.  *
  8.  * 19 Aug 1994 Dean Reece at NeXT
  9.  *    Complete re-write.
  10.  *
  11.  * 19 Jul 1994 Curtis Galloway at NeXT
  12.  *    Created.
  13.  *
  14.  */
  15. #import <driverkit/i386/IOEISADeviceDescription.h>
  16. #import <driverkit/driverTypes.h>
  17.  
  18.  
  19. @interface IOPCIDeviceDescription : IOEISADeviceDescription
  20. {
  21.     void    *_pci_private;
  22. }
  23.  
  24. /*
  25.  * getPCIdevice is the whole purpose for this object.  This method allows
  26.  * callers to get the PCI config address of the PCI device associated
  27.  * with this device description.  If all goes well, the three params are
  28.  * filled in and IO_R_SUCCESS is returned.  There are a variety of reasons
  29.  * that the address couldn't be known, in which case an appropriate code is
  30.  * returned and the parameters are left untouched.  It is acceptable for any
  31.  * of the parameter pointers to be NULL.
  32.  */
  33. - (IOReturn) getPCIdevice: (unsigned char *) devNum
  34.          function: (unsigned char *) funNum
  35.               bus: (unsigned char *) busNum;
  36.  
  37. @end
  38.